﻿using System;
using System.Collections.Generic;
namespace CarbonExchange.AmeeQuery
{
    public interface IAmeeCommand : IDisposable
    {
        bool Authenticate();
        bool ReAuthenticate();
        Newtonsoft.Json.Linq.JObject SendJsonGet(string url);
        System.Xml.Linq.XDocument SendXmlGet(string url);
        System.Xml.Linq.XDocument SendXmlInsert(string url, string dataItemUid, Dictionary<string, string> data);
        System.Xml.Linq.XDocument SendXmlUpdate(string url, Dictionary<string, string> data);
        System.Xml.Linq.XDocument CreateProfile(string name);
        void SendXmlDelete(string url);
    }
}
